package com.zxx.pattern.compositePattern.composite3;

/**
 * 文件类
 * @author zxx on 2021/5/21
 */
public abstract class File {

    String name;

    public File(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public abstract void display();
}
